package com.xh.echartsviewsystem.service;

import com.xh.echartsviewsystem.entity.PersonInfo;
import com.xh.echartsviewsystem.mapper.PersonViewMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service(value = "personViewService")
public class PersonViewService {

    @Autowired
    private PersonViewMapper personViewMapper;

    /**
     * findAll
     * @return List of Person
     */
    public List<PersonInfo> findPerson(){
        return personViewMapper.findPerson();
    }

}
